package com.fjh.shop.orders.service.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.fjh.shop.orders.model.dto.CartDTO;
import com.fjh.shop.orders.model.entity.Cart;
import com.fjh.shop.orders.model.vo.CartItemVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuyunbin
 * @since 2025-07-16
 */
public interface CartService extends IService<Cart> {

    void addCart(CartDTO cartDTO);

    boolean deleteCart();

    Cart updateCart(CartDTO cartDTO);

    List<CartItemVO> getCart();

    void reduceCart(CartDTO cartDTO);
}
